﻿using System.Data.SqlClient;
using ylyfDataConnectionManager.Common;

namespace ylyfDataMSSQLConfiguration
{
    public class HiSQLDataBase:HiDataBase
    {
        public HiSQLDataBase(string ConnectionString) : base(ConnectionString, SqlClientFactory.Instance)
        {
        }
        /// <summary>
        /// parameter处理类
        /// </summary>
        /// <param name="name">parameter的名字</param>
        /// <returns></returns>
        protected override string BuildParameter(string name)
        {
            if (name[0] == '@')
            {
                return name;
            }
            return "@" + name;
        }
    }
}